package com.server.rule.data;
import com.shared.rule.TypeDataRule;

public class NominalDataElement extends DataElement{

	private String value;
	
	public NominalDataElement(String value,boolean isParameter) {
		
		super(isParameter);
		this.value = value;		
	}
	@Override
	public DataValue<? extends Object> getValue() {
		return new DataValue<String>(value);
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public TypeDataRule getTypeData() {
		return TypeDataRule.NOMINAL;
	}
}
